package ma.ensao.evalmetrics.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;

import javax.persistence.Id;
import javax.persistence.Table;
//Mapping de la table propriete et le bean propriete
@Entity
@Table(name="propriete")
public class Propriete implements Serializable{
	private static final long serialVersionUID = -8767337896773261247L;
	
	private Long id;
	double heritage=0;//
	double coupling=0;
	double abstraction=0;//
	double size=0;//
	double composition=0;
	double encapsulation=0;//
	double modularite=0;
	double precision=0;
	double consistence=0;
	double cohesion=0;
	double tolerence=0;
	double instabilite=0;
	double dependence=0;
	double complexite=0;
	double message=0;//
	double specialisation=0;
	double nbmethodes=0;
	double sizemethodes=0;
	double stabilite=0;
	
	
	@Id
	@Column(name="id")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="heritage")
	public double getHeritage() {
		return heritage;
	}
	public void setHeritage(double heritage) {
		this.heritage = heritage;
	}
	@Column(name="coupling")
	public double getCoupling() {
		return coupling;
	}
	public void setCoupling(double coupling) {
		this.coupling = coupling;
	}
	@Column(name="abstraction")
	public double getAbstraction() {
		return abstraction;
	}
	public void setAbstraction(double abstraction) {
		this.abstraction = abstraction;
	}
	@Column(name="size")
	public double getSize() {
		return size;
	}
	public void setSize(double size) {
		this.size = size;
	}
	@Column(name="composition")
	public double getComposition() {
		return composition;
	}
	public void setComposition(double composition) {
		this.composition = composition;
	}
	@Column(name="encapsulation")
	public double getEncapsulation() {
		return encapsulation;
	}
	public void setEncapsulation(double d) {
		this.encapsulation = d;
	}
	@Column(name="modularite")
	public double getModularite() {
		return modularite;
	}
	public void setModularite(double modularite) {
		this.modularite = modularite;
	}
	@Column(name="precisions")
	public double getPrecision() {
		return precision;
	}
	public void setPrecision(double precision) {
		this.precision = precision;
	}
	@Column(name="consistence")
	public double getConsistence() {
		return consistence;
	}
	public void setConsistence(double consistence) {
		this.consistence = consistence;
	}
	@Column(name="cohesion")
	public double getCohesion() {
		return cohesion;
	}
	public void setCohesion(double cohesion) {
		this.cohesion = cohesion;
	}
	@Column(name="tolerence")
	public double getTolerence() {
		return tolerence;
	}
	public void setTolerence(double tolerence) {
		this.tolerence = tolerence;
	}
	@Column(name="instabilite")
	public double getInstabilite() {
		return instabilite;
	}
	public void setInstabilite(double instabilite) {
		this.instabilite = instabilite;
	}
	@Column(name="dependence")
	public double getDependence() {
		return dependence;
	}
	public void setDependence(double dependence) {
		this.dependence = dependence;
	}
	@Column(name="complexite")
	public double getComplexite() {
		return complexite;
	}
	public void setComplexite(double complexite) {
		this.complexite = complexite;
	}
	@Column(name="message")
	public double getMessage() {
		return message;
	}
	public void setMessage(double message) {
		this.message = message;
	}
	@Column(name="specialisation")
	public double getSpecialisation() {
		return specialisation;
	}
	public void setSpecialisation(double specialisation) {
		this.specialisation = specialisation;
	}
	@Column(name="nbmethodes")
	public double getNbmethodes() {
		return nbmethodes;
	}
	public void setNbmethodes(double nbmethodes) {
		this.nbmethodes = nbmethodes;
	}
	@Column(name="sizemethodes")
	public double getSizemethodes() {
		return sizemethodes;
	}
	public void setSizemethodes(double sizemethodes) {
		this.sizemethodes = sizemethodes;
	}
	@Column(name="stabilite")
	public double getStabilite() {
		return stabilite;
	}
	public void setStabilite(double stabilite) {
		this.stabilite = stabilite;
	}

}
